package com.platform.dao;

import java.util.List;

import com.platform.entity.FarmChapterEntity;
import com.platform.entity.FarmContentEntity;
import com.platform.entity.FarmTypeEntity;

/**
 * 内容表四级Dao
 *
 * @author xuyang
 * @email 295640759@qq.com
 * @date 2020-02-10 22:01:54
 */
public interface FarmContentMapper extends BaseDao<FarmContentEntity> {
	FarmContentEntity selectByPrimaryKey(Integer id);
    
    int insertSelective(FarmContentEntity farmType);
    
    int updateByPrimaryKeySelective(FarmContentEntity farmType);
    
    int deleteByPrimaryKey(Integer id);
    
    List<FarmContentEntity> findByParentId(Integer id);
    
}
